package com.broadengate.bean;

import java.util.List;

public class SessionInfo implements java.io.Serializable
{
    
    private int userId;// 用户ID
    
    private String userName;// 用户登录名和用户工号一致
    
    private String ip;// 用户IP
    
    private String employeeName;//用户名
    
    private List<RuleInfo> ruleList;// 权限列表
    
    private List<DepartmentInfo> departmentTree;
    
    public String getEmployeeName()
    {
        return employeeName;
    }

    public void setEmployeeName(String employeeName)
    {
        this.employeeName = employeeName;
    }

    public int getUserId()
    {
        return userId;
    }
    
    public void setUserId(int userId)
    {
        this.userId = userId;
    }
    
    public String getUserName()
    {
        return userName;
    }
    
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    
    
    public List<RuleInfo> getRuleList()
    {
        return ruleList;
    }

    public void setRuleList(List<RuleInfo> ruleList)
    {
        this.ruleList = ruleList;
    }

    public String getIp()
    {
        return ip;
    }
    
    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public List<DepartmentInfo> getDepartmentTree()
    {
        return departmentTree;
    }

    public void setDepartmentTree(List<DepartmentInfo> departmentTree)
    {
        this.departmentTree = departmentTree;
    }
    
}
